package com.yuju.group.dao.mapper;

import java.util.List;
import java.util.Map;

import com.yuju.group.dao.entity.Hotel;
import com.yuju.group.model.CityModel;
import com.yuju.group.model.ProvinceModel;
import com.yuju.group.model.TownModel;
import com.yuju.persist.base.mapper.BaseMapper;

public interface HotelMapper extends BaseMapper<Hotel, String> {

    int selectCountByMap(Map<Object, Object> map);

    List<Hotel> selectListByMap(Map<Object, Object> map);

    int insert(Hotel record);

    int insertSelective(Hotel record);

    Hotel selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Hotel record);

    int updateByPrimaryKey(Hotel record);

    int initShiftInfo(Map<String,Object> map);
    
    List<ProvinceModel> selectProvinceList(Map<Object, Object> map);
    
    List<CityModel> selectCityList(Map<Object, Object> map);
    
    List<TownModel> selectTownList(Map<Object, Object> map);

	List<CityModel> selectHotelCity(Map<Object, Object> map);

	List<TownModel> selectHotelTown(Map<Object, Object> map);
}